package com.union.pay.config;


import com.union.pay.properties.PayProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@EnableConfigurationProperties(PayProperties.class)
@ConditionalOnProperty(prefix = PayProperties.PREFIX, name = "enabled", havingValue = "true")
@Import({CcbPayAutoConfiguration.class})
public class UnionPayAutoConfiguration {
}
